#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include <iostream>
#include <fstream>
#include <QLabel>

class MainWindow: public QMainWindow {
    Q_OBJECT
public:
    MainWindow();

    virtual ~MainWindow();

    bool eventFilter(QObject * object, QEvent * event);

    void mousePressEvent(QMouseEvent * qtMouseEvent);

    void mouseReleaseEvent(QMouseEvent * qtMouseEvent);

    void dragEnterEvent(QDragEnterEvent * e);

    void wheelEvent(QWheelEvent * qtWheelEvent);

    void paintEvent(QPaintEvent * e);

private:
    QLabel * qtLabel;

    QLabel * box;

    bool isReached;
};

#endif // MAINWINDOW_H
